package com.haoniu.module.domain.database;

import com.haoniu.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 用户邀请关系表 user_invite
 *
 * @author houyijun
 * @date 2019-01-30
 */
public class UserInvite extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 一级
     */
    private Integer one;
    /**
     * 二级
     */
    private Integer two;
    /**
     * 三级
     */
    private Integer three;
    /**
     * 四级
     */
    private Integer four;
    /**
     * 五级
     */
    private Integer five;
    /**
     * 六级
     */
    private Integer six;

    private Integer seven;

    private Integer eight;

    private Integer nine;

    private Integer ten;

    private Integer eleven;

    private Integer twelve;

    private Integer thirteen;

    private Integer fourteen;

    private Integer fifteen;

    private Integer sixteen;
    /**
     * 总代理
     */
    private Integer genAgent;
    /**
     * 扩展字段(用户统计团队人数)
     */
    private String ext;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;


    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setOne(Integer one) {
        this.one = one;
    }

    public Integer getOne() {
        return one;
    }

    public void setTwo(Integer two) {
        this.two = two;
    }

    public Integer getTwo() {
        return two;
    }

    public void setThree(Integer three) {
        this.three = three;
    }

    public Integer getThree() {
        return three;
    }

    public void setFour(Integer four) {
        this.four = four;
    }

    public Integer getFour() {
        return four;
    }

    public void setFive(Integer five) {
        this.five = five;
    }

    public Integer getFive() {
        return five;
    }

    public void setSix(Integer six) {
        this.six = six;
    }

    public Integer getSix() {
        return six;
    }

    public void setGenAgent(Integer genAgent) {
        this.genAgent = genAgent;
    }

    public Integer getSeven() {
        return seven;
    }

    public void setSeven(Integer seven) {
        this.seven = seven;
    }

    public Integer getEight() {
        return eight;
    }

    public void setEight(Integer eight) {
        this.eight = eight;
    }

    public Integer getNine() {
        return nine;
    }

    public void setNine(Integer nine) {
        this.nine = nine;
    }

    public Integer getTen() {
        return ten;
    }

    public void setTen(Integer ten) {
        this.ten = ten;
    }

    public Integer getEleven() {
        return eleven;
    }

    public void setEleven(Integer eleven) {
        this.eleven = eleven;
    }

    public Integer getTwelve() {
        return twelve;
    }

    public void setTwelve(Integer twelve) {
        this.twelve = twelve;
    }

    public Integer getThirteen() {
        return thirteen;
    }

    public void setThirteen(Integer thirteen) {
        this.thirteen = thirteen;
    }

    public Integer getFourteen() {
        return fourteen;
    }

    public void setFourteen(Integer fourteen) {
        this.fourteen = fourteen;
    }

    public Integer getFifteen() {
        return fifteen;
    }

    public void setFifteen(Integer fifteen) {
        this.fifteen = fifteen;
    }

    public Integer getSixteen() {
        return sixteen;
    }

    public void setSixteen(Integer sixteen) {
        this.sixteen = sixteen;
    }

    public Integer getGenAgent() {
        return genAgent;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getExt() {
        return ext;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("one", getOne())
                .append("two", getTwo())
                .append("three", getThree())
                .append("four", getFour())
                .append("five", getFive())
                .append("six", getSix())
                .append("seven", getSeven())
                .append("eight", getEight())
                .append("nine", getNine())
                .append("ten", getTen())
                .append("eleven", getEleven())
                .append("twelve", getTwelve())
                .append("thirteen", getThirteen())
                .append("fourteen", getFourteen())
                .append("fifteen", getFifteen())
                .append("sixteen", getSixteen())
                .append("genAgent", getGenAgent())
                .append("ext", getExt())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
